
/**
*
* Object representing the visual state of an experience.
* This object implements two methods to standardize the entry and exit
* points of a state. All the properties of a state are set by Experience
* Manager and become available in the create method.
*
* @author	Jovan Alleyne, Peter Nitsch
* @version	1.0a
* @since	Flash 9
*
*/

package org.hive.state
{
	import flash.events.Event;
	import flash.events.EventDispatcher;
	
	import org.hive.Hive;
	import org.hive.managers.*;
	import org.hive.sequence.*;
		
	public class State extends EventDispatcher
	{
        /**
		* Reference to the previous display state of the experience.
		*/
		public var previousState : State = null;
        /**
		* Reference to the event which caused the state change.
		*/
		public var trigger : Event = null;
		/**
        * Reference to HIVE framework instance.
        */
		public var hive : Hive;
		/**
        * Reference to StateManager.
        */
		public var stateManager : StateManager;
		/**
        * Reference to SequenceManager.
        */
		public var sequenceManager : SequenceManager;

	}
}